package com.rainy.generator.entity;

import com.google.common.collect.Lists;
import lombok.Data;

import java.util.List;

/**
 * @author liuqin on 2017/12/17
 */
@Data
public class MainMenu {

    private int id;

    private String name;

    private boolean active = false;

    private List<String> activeUrls;

    private List<SubMenu> subMenus = Lists.newArrayList();

    @Data
    public class SubMenu{
        private int id;

        private String name;

        private String url;

        private boolean active = false;

        private List<String> activeUrls;
    }
}
